using System;

namespace Bitcoin
{
    /// <summary>
    ///     Called when a download is started with the initial number of blocks to be downloaded.
    /// </summary>
    public class ChainDownloadStartedEventArgs : EventArgs
    {
        public ChainDownloadStartedEventArgs(int blocksLeft)
        {
            BlocksLeft = blocksLeft;
        }

        /// <summary>
        ///     The number of blocks left to download.
        /// </summary>
        public int BlocksLeft { get; private set; }
    }
}